export const APP_VERSION = '0.0.0'
export const APP_PLATFORM = 'h5'

// 订单状态
export const ORDER_STATUS_ALL = 0
export const ORDER_STATUS_WAIT = 1
export const ORDER_STATUS_FINISH = 2
export const ORDER_STATUS_CANCELED = 3

// 订单状态值的名字
export const ORDER_STATUS = {
  [ORDER_STATUS_ALL]: '全部',
  [ORDER_STATUS_WAIT]: '待支付',
  [ORDER_STATUS_FINISH]: '已完成',
  [ORDER_STATUS_CANCELED]: '已取消'
}

// 订单状态映射
export const ORDER_STATUS_TYPE = {
  ALL: ORDER_STATUS_ALL,
  WAIT: ORDER_STATUS_WAIT,
  FINISH: ORDER_STATUS_FINISH,
  CANCELED: ORDER_STATUS_CANCELED
}
